<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>九宫格</title>
    <style>
        .main{
            width: 600px;
            height: 600px;
            margin: 0 auto;
            text-align: center;
        }
        .col1, .col2, .col3 {
            width: 100%;
            height: 200px;
            display: flex;
        }
        .item{
            width: 30%;
            display: flex;
            align-items: center;
            background-color: orangered;
            margin: 5px;
            padding-left: 85px;
            color: aliceblue;
            font-size: 30px;
            background-image: url(https://ts1.cn.mm.bing.net/th/id/R-C.e4bf7695cb9d411af07de0596b3aebc7?rik=uU%2ftOXvNm%2bnuOA&riu=http%3a%2f%2fwww.qubiaoqing.cn%2fpic%2f2020%2f12%2f01%2fep44ydldbuh.jpg&ehk=5EqdgMLMVeqVN1N3BL%2fKoBhl93ODzpOdcmWG8d%2bq%2b%2b8%3d&risl=&pid=ImgRaw&r=0);
            background-size: 200px 200px;
        }
        .two{
            background-image: url(https://ts1.cn.mm.bing.net/th/id/R-C.e4bf7695cb9d411af07de0596b3aebc7?rik=uU%2ftOXvNm%2bnuOA&riu=http%3a%2f%2fwww.qubiaoqing.cn%2fpic%2f2020%2f12%2f01%2fep44ydldbuh.jpg&ehk=5EqdgMLMVeqVN1N3BL%2fKoBhl93ODzpOdcmWG8d%2bq%2b%2b8%3d&risl=&pid=ImgRaw&r=0);
            background-size: 200px 200px;
        }
       .three{
        background-image: url(https://ts1.cn.mm.bing.net/th/id/R-C.e4bf7695cb9d411af07de0596b3aebc7?rik=uU%2ftOXvNm%2bnuOA&riu=http%3a%2f%2fwww.qubiaoqing.cn%2fpic%2f2020%2f12%2f01%2fep44ydldbuh.jpg&ehk=5EqdgMLMVeqVN1N3BL%2fKoBhl93ODzpOdcmWG8d%2bq%2b%2b8%3d&risl=&pid=ImgRaw&r=0);
            background-size: 200px 200px;
       }
       .four{
        background-image: url(https://ts1.cn.mm.bing.net/th/id/R-C.e4bf7695cb9d411af07de0596b3aebc7?rik=uU%2ftOXvNm%2bnuOA&riu=http%3a%2f%2fwww.qubiaoqing.cn%2fpic%2f2020%2f12%2f01%2fep44ydldbuh.jpg&ehk=5EqdgMLMVeqVN1N3BL%2fKoBhl93ODzpOdcmWG8d%2bq%2b%2b8%3d&risl=&pid=ImgRaw&r=0);
            background-size: 200px 200px;
       }
       .five{
        background-image: url(https://ts1.cn.mm.bing.net/th/id/R-C.e4bf7695cb9d411af07de0596b3aebc7?rik=uU%2ftOXvNm%2bnuOA&riu=http%3a%2f%2fwww.qubiaoqing.cn%2fpic%2f2020%2f12%2f01%2fep44ydldbuh.jpg&ehk=5EqdgMLMVeqVN1N3BL%2fKoBhl93ODzpOdcmWG8d%2bq%2b%2b8%3d&risl=&pid=ImgRaw&r=0);
            background-size: 200px 200px;
       }
       .six{
        background-image: url(https://ts1.cn.mm.bing.net/th/id/R-C.e4bf7695cb9d411af07de0596b3aebc7?rik=uU%2ftOXvNm%2bnuOA&riu=http%3a%2f%2fwww.qubiaoqing.cn%2fpic%2f2020%2f12%2f01%2fep44ydldbuh.jpg&ehk=5EqdgMLMVeqVN1N3BL%2fKoBhl93ODzpOdcmWG8d%2bq%2b%2b8%3d&risl=&pid=ImgRaw&r=0);
            background-size: 200px 200px;
       }
       .seven{
        background-image: url(https://ts1.cn.mm.bing.net/th/id/R-C.e4bf7695cb9d411af07de0596b3aebc7?rik=uU%2ftOXvNm%2bnuOA&riu=http%3a%2f%2fwww.qubiaoqing.cn%2fpic%2f2020%2f12%2f01%2fep44ydldbuh.jpg&ehk=5EqdgMLMVeqVN1N3BL%2fKoBhl93ODzpOdcmWG8d%2bq%2b%2b8%3d&risl=&pid=ImgRaw&r=0);
            background-size: 200px 200px;
       }
       .eight{
        background-image: url(https://ts1.cn.mm.bing.net/th/id/R-C.e4bf7695cb9d411af07de0596b3aebc7?rik=uU%2ftOXvNm%2bnuOA&riu=http%3a%2f%2fwww.qubiaoqing.cn%2fpic%2f2020%2f12%2f01%2fep44ydldbuh.jpg&ehk=5EqdgMLMVeqVN1N3BL%2fKoBhl93ODzpOdcmWG8d%2bq%2b%2b8%3d&risl=&pid=ImgRaw&r=0);
            background-size: 200px 200px;
       }
       .nine{
        background-image: url(https://ts1.cn.mm.bing.net/th/id/R-C.e4bf7695cb9d411af07de0596b3aebc7?rik=uU%2ftOXvNm%2bnuOA&riu=http%3a%2f%2fwww.qubiaoqing.cn%2fpic%2f2020%2f12%2f01%2fep44ydldbuh.jpg&ehk=5EqdgMLMVeqVN1N3BL%2fKoBhl93ODzpOdcmWG8d%2bq%2b%2b8%3d&risl=&pid=ImgRaw&r=0);
            background-size: 200px 200px;
       }
    </style>
</head>
<body>
    <div class="main">
        <div class="col1">
            <div class="item"></div>
            <div class="item two"></div>
            <div class="item three"></div>
        </div>
        <div class="col2">
            <div class="item four"></div>
            <div class="item five"></div>
            <div class="item six"></div>
        </div>
        <div class="col3">
            <div class="item seven"></div>
            <div class="item eight"></div>
            <div class="item nine"></div>
        </div>
    </div>
</body>
</html>